package cn.xx.org.mapper;

import cn.xx.basic.mapper.BaseMapper;
import cn.xx.org.domain.Employee;
import cn.xx.org.domain.Shop;
import cn.xx.org.query.EmployeeQuery;

import java.util.List;

public interface EmployeeMapper extends BaseMapper<Employee>{
    void patchDel(List<Long> ids);
    /**
     * 根据用户名查询员工对象
     * @param username
     * @return
     */
    Employee loadByUsername(String username);

    Employee findShopId (Long id);

    Employee queryEmployee (String username, String password);

}
